cmake_minimum_required(VERSION 3.1)
project(FPStyle)

set(CMAKE_CXX_STANDARD 11)

include_directories(.)

add_subdirectory(thirdparty/googletest)

add_library(FPStyle
        FPStyle/condition.cpp
        FPStyle/loop.cpp
        FPStyle/task.cpp)


# example
add_executable(example example/example.cpp)
target_link_libraries(example FPStyle)

add_subdirectory(tests)